package com.qk.management.aop.anno;

import java.lang.annotation.*;
import java.util.concurrent.TimeUnit;

/**
 * @author 上官徵羽
 * @version 1.0
 * @since 2025-10-18 13:08
 */
@Documented
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Cacheable {
    String key() default "";
    String KeyPrefix() default "";
    long expireTime() default 0;
    TimeUnit expireTimeUnit() default TimeUnit.SECONDS;
}
